package com.smedi.ismedi.inmail.core.domain.aggregatemodel;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 流程评论表
 *
 * @author niuyanling
 * @date 2021/08/05
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class ProcessComment implements Serializable {
    /**
     * id
     */
    private String id;

    /**
     * 类型
     */
    private String type;

    /**
     * 时间
     */
    private LocalDateTime time;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 行为
     */
    private String action;

    /**
     * 信息
     */
    private String message;

    /**
     * 任务id
     */
    private String taskId;

    /**
     * 根流程实例id
     */
    private String rootProcInstId;

    /**
     * 流程实例id
     */
    private String procInstId;

    /**
     * 完整信息
     */
    private String fullMessage;

    /**
     * 租客id
     */
    private String tenantId;

    /**
     * 移除时间
     */
    private LocalDateTime removalTime;
}
